﻿namespace _面向对象测试.IBase
{
    public interface IBaseTraffic
    {
        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// 速度
        /// </summary>
        int Speed { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        int Status { get; set; }

        /// <summary>
        /// 开始启动
        /// </summary>
        void Start();

        /// <summary>
        /// 停止启动
        /// </summary>
        void Stop();

        /// <summary>
        /// 改变速度
        /// </summary>
        void ChangeSpeed();
    }
}